Deal with SRV DNS records. 🔼

None of the mirrors have one, so I haven't implemented this yet.


reported=2019-06-25 03:20:47

reporter=onefang

priority=none

category=Feature

severity=feature

resolution=open


2019-06-25 03:21:39 onefang: Note that I do ask for SRV records and store them, I just don't do anything with them.


2019-06-25 08:24:27 onefang: Evilham -

Re: SRV is not used in deb devuan.org, it's used in some of the other involved hostnames

Mote flagrantly in deb debian.org

Think about the redirects

If one mirrpr redirects to deb.debian.org, SRVs are relevant

And "it's not used now" in a speced thing is a formula for "it's broken and we don't know how"

Has happened before with IPv6

Not used directly, but the moment a mirror redirects to an ipv6 enabled host that is not properly set up, we have a problem

yeah check http.tcp.deb.debian.org SRV

Which answers [url=https://sledjhamr.org/mantisbt/view.php?id=54]0000054: Should we checkIP() on returned redirects?[/url]

[code=bash]

$ dig http.tcp.deb.debian.org SRV

; <<>> DiG 9.10.3-P4-Debian <<>> http.tcp.deb.debian.org SRV

;; global options: +cmd

;; Got answer:

;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 900

;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:

; EDNS: version: 0, flags:; udp: 4096

;; QUESTION SECTION:

;http.tcp.deb.debian.org. IN SRV

;; ANSWER SECTION:

http.tcp.deb.debian.org. 279 IN SRV 10 1 80 prod.debian.map.fastly.net.

;; Query time: 684 msec

;; SERVER: 127.0.0.1#53(127.0.0.1)

;; WHEN: Tue Jun 25 18:28:16 AEST 2019

;; MSG SIZE rcvd: 100

[/code]